//
//  ArticleManager.h
//  Showing
//
//  Created by Ralf on 3/31/15.
//  Copyright (c) 2015 next-software. All rights reserved.
//

@import Foundation;

#import "ParameterManager.h"
#import "ResultSet.h"
#import "Services.h"

@interface ArticleManager : Services

- (ResultSet *)createArticle:(NSDictionary *)article;

- (ResultSet *)queryByUserName:(NSString *)userNam max:(NSInteger)max offset:(NSInteger)offset;

- (ResultSet *)queryMyArticle:(NSInteger)max offset:(NSInteger)offset;

- (ResultSet *)queryMyAppointment:(NSInteger)max offset:(NSInteger)offset reviewed:(BOOL)reviewed;

- (ResultSet *)queryMyOrder:(NSInteger)max offset:(NSInteger)offset;

- (ResultSet *)queryMyTask:(NSInteger)max offset:(NSInteger)offset;

- (ResultSet *)queryMyAdvertising:(NSInteger)max offset:(NSInteger)offset status:(NSString *)status;

- (ResultSet *)searchByMessage:(NSString *)message max:(NSInteger)max offset:(NSInteger)offset;

- (ResultSet *)queryArticle:(NSInteger)max offset:(NSInteger)offset;

@end
